CC = gcc
CFLAGS = -I/usr/local/libmemcached/include/ -Wall -g
LIBS = -L/usr/local/lib -L/usr/local/libmemcached/lib/ -levent -lmemcached
EXEC = mhttpd

main : mhttpd.o
	$(CC) $(LIBS) -o $(EXEC) $<


mhttpd.o : MHttpd.c
	$(CC) $(CFLAGS) -o $@ -c $<
	
clean :
	rm -rf *.o $(EXEC)
